package net.dgg.dggcloud.service.jrcrm.entity.orf;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @ClassName:Outlay
 * @Description: 费用申请实体表
 * @author：郭伟
 * @date： 2017/11/6
 */

@Entity
@Table(name = "orf_outlay")
public class Outlay  extends BaseEntity {

    /**
     * 费用申请编号
     */
    @Column(name="outlay_no")
    private String outlayNo;

    /**
     * 费用申请区域
     */
    @Column(name="apply_area")
    private String applyArea;

    /**
     * 科目标识
     */
    @Column(name="cost_id")
    private String costId;

    /**
     * 申请人ID
     */
    @Column(name="apply_user_id")
    private Long applyUserId;

    /**
     * 申请人部门
     */
    @Column(name="apply_sign_org_id")
    private Long applySignOrgId;

    /**
     * 申请时间
     */
    @Column(name="apply_time")
    private Date applyTime;

    /**
     * 付款方式
     */
    @Column(name="payment_method")
    private String paymentMethod;

    /**
     * 是否开具发票  0 是 1 不是
     */
    @Column(name="is_invoice")
    private Integer isInvoice;

    /**
     * 发票开具公司
     */
    @Column(name="invoice_company")
    private String invoiceCompany;

    /**
     * 收款账户
     */
    @Column(name="receipt_account")
    private String receiptAccount;

    /**
     * 收款账户名称
     */
    @Column(name="receipt_account_name")
    private String receiptAccountName;

    /**
     * 开户行
     */
    @Column(name="bank_name")
    private String bankName;

    /**
     * 收款公司
     */
    @Column(name="receipt_company")
    private String receiptCompany;

    /**
     * 收款联系人
     */
    @Column(name="receipt_contact")
    private String receiptContact;

    /**
     * 联系人电话
     */
    @Column(name="contact_telephone")
    private String contactTelephone;

    /**
     * 联系人电话  备份
     */
    @Column(name="contact_telephone_bak")
    private String contactTelephoneBak;

    /**
     * 备注
     */
    @Column(name="remark")
    private String remark;

    /**
     * 当前审核人
     */
    @Column(name="auditor_user_id")
    private Long auditorUserId;

    /**
     * 审核完成时间
     */
    @Column(name="carry_out_time")
    private Date carryOutTime;

    /**
     * 申请状态 0审核通过
     */
    @Column(name="status")
    private String status;

    /**
     * 申请金额
     */
    @Column(name="amount")
    private Long amount;

    /**
     * 最新驳回原因
     */
    @Column(name="reject_reason")
    private String rejectReason;

    /**
     *  最新驳回时间
     */
    @Column(name="reject_time")
    private Date rejectTime;


    public String getContactTelephoneBak() {
        return contactTelephoneBak;
    }

    public void setContactTelephoneBak(String contactTelephoneBak) {
        this.contactTelephoneBak = contactTelephoneBak;
    }

    public String getOutlayNo() {
        return outlayNo;
    }

    public void setOutlayNo(String outlayNo) {
        this.outlayNo = outlayNo;
    }

    public String getApplyArea() {
        return applyArea;
    }

    public void setApplyArea(String applyArea) {
        this.applyArea = applyArea;
    }

    public String getCostId() {
        return costId;
    }

    public void setCostId(String costId) {
        this.costId = costId;
    }

    public Long getApplyUserId() {
        return applyUserId;
    }

    public void setApplyUserId(Long applyUserId) {
        this.applyUserId = applyUserId;
    }

    public Long getApplySignOrgId() {
        return applySignOrgId;
    }

    public void setApplySignOrgId(Long applySignOrgId) {
        this.applySignOrgId = applySignOrgId;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public String getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(String paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    public Integer getIsInvoice() {
        return isInvoice;
    }

    public void setIsInvoice(Integer isInvoice) {
        this.isInvoice = isInvoice;
    }

    public String getInvoiceCompany() {
        return invoiceCompany;
    }

    public void setInvoiceCompany(String invoiceCompany) {
        this.invoiceCompany = invoiceCompany;
    }

    public String getReceiptAccount() {
        return receiptAccount;
    }

    public void setReceiptAccount(String receiptAccount) {
        this.receiptAccount = receiptAccount;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getReceiptCompany() {
        return receiptCompany;
    }

    public void setReceiptCompany(String receiptCompany) {
        this.receiptCompany = receiptCompany;
    }

    public String getReceiptContact() {
        return receiptContact;
    }

    public void setReceiptContact(String receiptContact) {
        this.receiptContact = receiptContact;
    }

    public String getContactTelephone() {
        return contactTelephone;
    }

    public void setContactTelephone(String contactTelephone) {
        this.contactTelephone = contactTelephone;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getAuditorUserId() {
        return auditorUserId;
    }

    public void setAuditorUserId(Long auditorUserId) {
        this.auditorUserId = auditorUserId;
    }

    public Date getCarryOutTime() {
        return carryOutTime;
    }

    public void setCarryOutTime(Date carryOutTime) {
        this.carryOutTime = carryOutTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getAmount() {
        return amount;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }

    public String getReceiptAccountName() {
        return receiptAccountName;
    }

    public void setReceiptAccountName(String receiptAccountName) {
        this.receiptAccountName = receiptAccountName;
    }

    public String getRejectReason() {
        return rejectReason;
    }

    public void setRejectReason(String rejectReason) {
        this.rejectReason = rejectReason;
    }

    public Date getRejectTime() {
        return rejectTime;
    }

    public void setRejectTime(Date rejectTime) {
        this.rejectTime = rejectTime;
    }
}
